{foreach $sub as $item}
<tr>
	<td>
		<a href="{plink System:reorder 'id'=>'dolu', 'ident'=>$item["id_menu"]}">Dolů</a>&nbsp;
		<a href="{plink System:reorder 'id'=>'nahoru', 'ident'=>$item["id_menu"]}">Nahoru</a>
	</td>
	<td>{$item["name"]}</td>
	<td>{$item["module_name"]}</td>
	<td>
		<a class="edit" href="{plink System:editMenuItem 'id'=>$item["id_menu"]}">&nbsp;</a>
		<a class="remove" onclick="return system.confirm('Opravdu si přejete smazat položku?');" href="{plink System:deleteMenuItem  'id'=>$item["id_menu"]}">&nbsp;</a>
	</td>
</tr>
{if !empty($item["sub"])}{include viewSubMenu.phtml, 'sub' => $item["sub"]}{/if}
{/foreach}